﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    /// <summary>
    /// Author: Sissi Zeng
    /// Data:2012-8-7 19:00
    /// </summary>
    public class Teacher
    {
        /// <summary>
        /// Field
        /// </summary>

        private int _TeacherId;
        private string _TeacherName;
        private string _TeacherGender;
        private int _DepartmentId;


        /// <summary>
        /// Constructor
        /// </summary>
        public Teacher()
        {
        }

        [DataMember]
        /// <summary>
        /// TeacherId Primary Key
        /// </summary>
        public int TeacherId
        {
            get { return _TeacherId; }
            set { _TeacherId = value; }
        }
        [DataMember]
        /// <summary>
        /// TeahcerName
        /// </summary>
        public string TeacherName
        {
            get { return _TeacherName; }
            set { _TeacherName = value; }
        }
        [DataMember]
        /// <summary>
        /// TeacherGender
        /// </summary>
        public string TeacherGender
        {
            get { return _TeacherGender; }
            set { _TeacherGender = value; }
        }
        [DataMember]
        /// <summary>
        /// DepartmentId
        /// </summary>
        public int DepartmentId
        {
            get { return _DepartmentId; }
            set { _DepartmentId = value; }
        }

    }
}
